/**
 * Copyright (c) 2015-2020, wss 王山山
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.wss.conversion.config;

/**
 * 应用层配置
 * 
 * @author wss
 *
 */
public class ApplicationConfig {
	/*
	 * 数据库配置
	 */
	private Database database;
	/*
	 * 主配置
	 */
	private Main main;
	/*
	 * Web层配置
	 */
	private Web web;
	
	public ApplicationConfig() {}
	
	public ApplicationConfig(Database database, Main main, Web web) {
		super();
		this.database = database;
		this.main = main;
		this.web = web;
	}

	public Database getDatabase() {
		return database;
	}

	public void setDatabase(Database database) {
		this.database = database;
	}

	public Main getMain() {
		return main;
	}

	public void setMain(Main main) {
		this.main = main;
	}

	public Web getWeb() {
		return web;
	}

	public void setWeb(Web web) {
		this.web = web;
	}

	@Override
	public String toString() {
		return "ApplicationConfig [database=" + database + ", main=" + main + ", web=" + web + "]";
	}
}
